.class Llt/noframe/gpsfarmguide/views/FragmentSettings$9;
.super Ljava/lang/Object;
.source "FragmentSettings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/views/FragmentSettings;->showSelected()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/FragmentSettings;)V
    .locals 0

    .line 350
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$9;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 3

    .line 353
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$9;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/FragmentSettings;->access$000(Llt/noframe/gpsfarmguide/views/FragmentSettings;)Llt/noframe/gpsfarmguide/analytics/FireAnalytics;

    move-result-object p1

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;->sendSettingShowTutorialBtnClcick()V

    .line 354
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$9;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    invoke-static {p1}, Llt/noframe/gpsfarmguide/showcase/core/PrefsManager;->resetAll(Landroid/content/Context;)V

    .line 355
    sget-object p1, Llt/noframe/gpsfarmguide/utils/Preferences;->RUN_TUTORIALS_DIALOG_SKIP:Llt/minvib/magicpreferences/MagicBooleanPreference;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$9;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {p1, v0, v2}, Llt/minvib/magicpreferences/MagicBooleanPreference;->set(Landroid/content/Context;Ljava/lang/Boolean;)V

    .line 356
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$9;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    check-cast p1, Llt/noframe/gpsfarmguide/views/ActivityDrawer;

    invoke-static {}, Llt/noframe/gpsfarmguide/views/FragmentMap;->newInstance()Llt/noframe/gpsfarmguide/views/FragmentMap;

    move-result-object v0

    invoke-virtual {p1, v0, v1}, Llt/noframe/gpsfarmguide/views/ActivityDrawer;->setCurrentFragment(Landroidx/fragment/app/Fragment;I)V

    const/4 p1, 0x1

    return p1
.end method
